<?php /* УТФ-8:fix */

class SPIview__manage extends SPIview__dummy
{
    public function render_login( $content )
    {
        $tpl = SPItpl::I('manage');

        $tpl->assign_by_ref('SPIcfg', SPIcfg::as_array() );
        $tpl->assign_by_ref('content', $content);
        $tpl->echo_compile('login.tpl');
        return true;
    }

    public function render( $content )
    {
        $tpl = SPItpl::I('manage');

        $tpl->assign_by_ref('SPIcfg', SPIcfg::as_array() );
        $tpl->assign_by_ref('content', $content);
        $tpl->echo_compile('main.tpl');
        return true;
    }
}
